package com.github.module.cms;

import java.io.Serializable;

import com.github.common.bean.BaseTreeNodeBean;

import lombok.Data;

/**
 * <p>User: Mu Yunlong
 * <p>Date: 2016年2月23日 下午2:37:19
 * <p>Version: 1.0
 */
@Data
public class Resource extends BaseTreeNodeBean implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 4208559996631909721L;
    private String codeNum; // 编码
    private String resourceName; // 名称
    private String iconCls; // 图标
    private Integer type; // 资源类型
    private String code; // 权限代码
    private String permission; // 权限标识
    private String permValue; // 权限
    private String description; // 描述
    private boolean expanded = true; // 是否展开
    private Integer sortOrder; // 排序
    private Integer editable; // 是否可编辑
    private Integer enabled; // 是否可用

    public String getCodeNum() {
        return codeNum;
    }

    public void setCodeNum(String codeNum) {
        this.codeNum = codeNum;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getPermValue() {
        return permValue;
    }

    public void setPermValue(String permValue) {
        this.permValue = permValue;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isExpanded() {
        return expanded;
    }

    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getEditable() {
        return editable;
    }

    public void setEditable(Integer editable) {
        this.editable = editable;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

}
